/*  
 *  Nanjing JIYU Technology Co.,Ltd All rights reserved.
 *  Copyright (C) 2022 
 *  ==============================================================
 * 
 *  gray.h 
 *    灰度传感器功能的外部接口
 *
 *  --------------------------------------------------------------
 *  
 */

#ifndef _GRAY_H
#define _GRAY_H

#include "system.h"

#define GRAY_FR   HAL_GPIO_ReadPin(GPIOA,GPIO_PIN_0)    //读取前侧左部灰度传感器状态
#define GRAY_S0   HAL_GPIO_ReadPin(GPIOA,GPIO_PIN_9)    //读取前侧中部灰度传感器状态
#define GRAY_S1   HAL_GPIO_ReadPin(GPIOA,GPIO_PIN_10)    //读取前侧右部灰度传感器状态



void gray_test(void);

#endif
